Skip to content

Fix and update stress tests for Event Hubs and Service Bus#49435

Merged
conniey merged 12 commits into
Azure:mainfrom
conniey:stress-test-updates
Jun 10, 2026
Merged

Fix and update stress tests for Event Hubs and Service Bus#49435
conniey merged 12 commits into
Azure:mainfrom
conniey:stress-test-updates

Conversation

@conniey

@conniey conniey commented Jun 9, 2026

Copy link
Copy Markdown
Member

Description

This updates the Event Hubs and Service Bus stress tests.

  • Removed the useV2Stack option
  • Fixed the files required by EngSys' stress framework.
  • Updated README
  • Streamlined Docker container creation by having the assets built outside of the Dockerfile

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Java Event Hubs and Service Bus stress-test packages to align with EngSys stress-test framework expectations, remove the legacy useV2Stack toggle, and simplify image build/deploy workflows.

Changes:

  • Removes the useV2Stack/USE_V2 configuration across Event Hubs stress code and Helm templates.
  • Refactors stress image builds to rely on pre-built artifacts (new New-StressTestRun.ps1 scripts + simplified Dockerfiles) and updates scenarios matrix paths.
  • Updates stress-test documentation and Helm chart dependencies (stress-test-addons repo/version) and telemetry initialization behavior.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
sdk/servicebus/azure-messaging-servicebus-stress/src/main/java/com/azure/messaging/servicebus/stress/util/TelemetryHelper.java Adjusts OpenTelemetry autoconfiguration/exporter behavior and enables GC cause capture.
sdk/servicebus/azure-messaging-servicebus-stress/scenarios-matrix.yaml Updates imageBuildDir to point at the package directory.
sdk/servicebus/azure-messaging-servicebus-stress/README.md Refreshes deployment/monitoring/troubleshooting guidance and project links.
sdk/servicebus/azure-messaging-servicebus-stress/New-StressTestRun.ps1 Adds a helper script to build (optionally) + login (optionally) + deploy stress tests.
sdk/servicebus/azure-messaging-servicebus-stress/Dockerfile Switches to copying pre-built artifacts into the runtime image (no in-Docker build).
sdk/servicebus/azure-messaging-servicebus-stress/Chart.yaml Updates stress-test-addons dependency repo alias and version range.
sdk/eventhubs/azure-messaging-eventhubs-stress/templates/job.yaml Removes node selector and USE_V2 export from sender/receiver containers.
sdk/eventhubs/azure-messaging-eventhubs-stress/src/main/java/com/azure/messaging/eventhubs/stress/util/TestUtils.java Removes v2-stack configuration injection into Event Hubs builders.
sdk/eventhubs/azure-messaging-eventhubs-stress/src/main/java/com/azure/messaging/eventhubs/stress/util/TelemetryHelper.java Updates OpenTelemetry autoconfiguration/exporter behavior and removes useV2 span attribute.
sdk/eventhubs/azure-messaging-eventhubs-stress/src/main/java/com/azure/messaging/eventhubs/stress/util/ScenarioOptions.java Removes USE_V2 option/property and accessor.
sdk/eventhubs/azure-messaging-eventhubs-stress/src/main/java/com/azure/messaging/eventhubs/stress/scenarios/EventForwarder.java Changes forwarder producer auth to DefaultAzureCredential + FQNS, removing forward connection string usage.
sdk/eventhubs/azure-messaging-eventhubs-stress/scenarios-matrix.yaml Updates imageBuildDir and removes the useV2 matrix dimension.
sdk/eventhubs/azure-messaging-eventhubs-stress/README.md Refreshes deployment/monitoring instructions and example scenarios; adds reference links.
sdk/eventhubs/azure-messaging-eventhubs-stress/New-StressTestRun.ps1 Adds a helper script to build (optionally) + login (optionally) + deploy stress tests.
sdk/eventhubs/azure-messaging-eventhubs-stress/Dockerfile Switches to copying pre-built artifacts into the runtime image (no in-Docker build).

Comment thread sdk/eventhubs/azure-messaging-eventhubs-stress/Dockerfile
Comment thread sdk/servicebus/azure-messaging-servicebus-stress/Dockerfile
Comment thread sdk/eventhubs/azure-messaging-eventhubs-stress/README.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@conniey conniey enabled auto-merge (squash) June 10, 2026 18:10
@conniey conniey merged commit defcb11 into Azure:main Jun 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants